﻿#pragma once

#include "CmdHandler3.h"
#include "Arc2D.h"

class Scene;
class UCS;

class Radius2DHandler : public CmdHandler3
{
	Q_OBJECT
public:
	Q_INVOKABLE Radius2DHandler();
	~Radius2DHandler();

	virtual void input(const QVariant& data, const QString& rawInput, CommandSource cs) override;
	void drawFinish(Scene* scene);
private:
	std::shared_ptr<Arc2D> m_arc;
	std::shared_ptr<Arc2D> m_originArc;
	UCS* m_ucs;
};
